home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hpofflx.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  16.5 KB  |  576 lines

  1. *%
  2. *% Copyright (c) 1997 - 1999 Microsoft Corporation
  3. *% All Rights Reserved.
  4. *%
  5. *GPDSpecVersion: "1.0"
  6. *GPDFileName: "HPOFFLX.GPD"
  7. *GPDFileVersion: "1.0"
  8. *Include: "StdNames.gpd"
  9. *ModelName: "HP OfficeJet LX"
  10. *MasterUnits: PAIR(600, 600)
  11. *ResourceDLL: "hpdjres.dll"
  12. *PrinterType: SERIAL
  13. *FontCartSlots: 2
  14. *Feature: Orientation
  15. {
  16.     *rcNameID: =ORIENTATION_DISPLAY
  17.     *DefaultOption: PORTRAIT
  18.     *Option: PORTRAIT
  19.     {
  20.         *rcNameID: =PORTRAIT_DISPLAY
  21.         *Command: CmdSelect
  22.         {
  23.             *Order: DOC_SETUP.2
  24.             *Cmd: "<1B>&l0O"
  25.         }
  26.     }
  27.     *Option: LANDSCAPE_CC90
  28.     {
  29.         *rcNameID: =LANDSCAPE_DISPLAY
  30.         *Command: CmdSelect
  31.         {
  32.             *Order: DOC_SETUP.2
  33.             *Cmd: "<1B>&l1O"
  34.         }
  35.     }
  36. }
  37. *Feature: InputBin
  38. {
  39.     *rcNameID: =PAPER_SOURCE_DISPLAY
  40.     *DefaultOption: AUTO
  41.     *Option: AUTO
  42.     {
  43.         *rcNameID: =AUTO_DISPLAY
  44.         *Command: CmdSelect
  45.         {
  46.             *Order: DOC_SETUP.3
  47.             *Cmd: "<1B>&l1H"
  48.         }
  49.     }
  50.     *Option: ENVFEED
  51.     {
  52.         *rcNameID: =ENV_FEED_DISPLAY
  53.         *Command: CmdSelect
  54.         {
  55.             *Order: DOC_SETUP.3
  56.             *Cmd: "<1B>&l3H"
  57.         }
  58.     }
  59. }
  60. *Feature: Resolution
  61. {
  62.     *rcNameID: =RESOLUTION_DISPLAY
  63.     *DefaultOption: Option1
  64.     *Option: Option1
  65.     {
  66.         *Name: "300 x 300 " =DOTS_PER_INCH
  67.         *DPI: PAIR(300, 300)
  68.         *TextDPI: PAIR(300, 300)
  69.         EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  70.         *SpotDiameter: 100
  71.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  72.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  73.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  74.         *Command: CmdSelect
  75.         {
  76.             *Order: DOC_SETUP.6
  77.             *Cmd: "<1B>*t300R"
  78.         }
  79.     }
  80.     *Option: Option2
  81.     {
  82.         *Name: "150 x 150 " =DOTS_PER_INCH
  83.         *DPI: PAIR(150, 150)
  84.         *TextDPI: PAIR(300, 300)
  85.         EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  86.         *SpotDiameter: 100
  87.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  88.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  89.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  90.         *Command: CmdSelect
  91.         {
  92.             *Order: DOC_SETUP.6
  93.             *Cmd: "<1B>*t150R"
  94.         }
  95.     }
  96.     *Option: Option3
  97.     {
  98.         *Name: "75 x 75 " =DOTS_PER_INCH
  99.         *DPI: PAIR(75, 75)
  100.         *TextDPI: PAIR(300, 300)
  101.         EXTERN_GLOBAL: *StripBlanks: LIST(TRAILING)
  102.         *SpotDiameter: 100
  103.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  104.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  105.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  106.         *Command: CmdSelect
  107.         {
  108.             *Order: DOC_SETUP.6
  109.             *Cmd: "<1B>*t75R"
  110.         }
  111.     }
  112. }
  113. *Feature: PaperSize
  114. {
  115.     *rcNameID: =PAPER_SIZE_DISPLAY
  116.     *DefaultOption: LETTER
  117.     *Option: LETTER
  118.     {
  119.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  120.         *switch: Orientation
  121.         {
  122.             *case: PORTRAIT
  123.             {
  124.                 *PrintableArea: PAIR(4800, 6156)
  125.                 *PrintableOrigin: PAIR(150, 100)
  126.                 *switch: Resolution
  127.                 {
  128.                     *case: Option2
  129.                     {
  130.                         *PrintableArea: PAIR(4796, 6156)
  131.                         *PrintableOrigin: PAIR(152, 100)
  132.                     }
  133.                     *case: Option3
  134.                     {
  135.                         *PrintableArea: PAIR(4792, 6152)
  136.                         *PrintableOrigin: PAIR(152, 104)
  137.                     }
  138.                 }
  139.                 *CursorOrigin: PAIR(150, 100)
  140.                 *Command: CmdSelect
  141.                 {
  142.                     *Order: DOC_SETUP.5
  143.                     *Cmd: "<1B>&l2A"
  144.                 }
  145.             }
  146.             *case: LANDSCAPE_CC90
  147.             {
  148.                 *PrintableArea: PAIR(4720, 6106)
  149.                 *PrintableOrigin: PAIR(210, 150)
  150.                 *switch: Resolution
  151.                 {
  152.                     *case: Option2
  153.                     {
  154.                         *PrintableArea: PAIR(4716, 6104)
  155.                         *PrintableOrigin: PAIR(212, 152)
  156.                     }
  157.                     *case: Option3
  158.                     {
  159.                         *PrintableArea: PAIR(4712, 6104)
  160.                         *PrintableOrigin: PAIR(216, 152)
  161.                     }
  162.                 }
  163.                 *CursorOrigin: PAIR(210, 6256)
  164.                 *Command: CmdSelect
  165.                 {
  166.                     *Order: DOC_SETUP.5
  167.                     *Cmd: "<1B>&l2A"
  168.                 }
  169.             }
  170.         }
  171.     }
  172.     *Option: LEGAL
  173.     {
  174.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  175.         *switch: Orientation
  176.         {
  177.             *case: PORTRAIT
  178.             {
  179.                 *PrintableArea: PAIR(4800, 7956)
  180.                 *PrintableOrigin: PAIR(150, 100)
  181.                 *switch: Resolution
  182.                 {
  183.                     *case: Option2
  184.                     {
  185.                         *PrintableArea: PAIR(4796, 7956)
  186.                         *PrintableOrigin: PAIR(152, 100)
  187.                     }
  188.                     *case: Option3
  189.                     {
  190.                         *PrintableArea: PAIR(4792, 7952)
  191.                         *PrintableOrigin: PAIR(152, 104)
  192.                     }
  193.                 }
  194.                 *CursorOrigin: PAIR(150, 100)
  195.                 *Command: CmdSelect
  196.                 {
  197.                     *Order: DOC_SETUP.5
  198.                     *Cmd: "<1B>&l3A"
  199.                 }
  200.             }
  201.             *case: LANDSCAPE_CC90
  202.             {
  203.                 *PrintableArea: PAIR(4720, 7906)
  204.                 *PrintableOrigin: PAIR(210, 150)
  205.                 *switch: Resolution
  206.                 {
  207.                     *case: Option2
  208.                     {
  209.                         *PrintableArea: PAIR(4716, 7904)
  210.                         *PrintableOrigin: PAIR(212, 152)
  211.                     }
  212.                     *case: Option3
  213.                     {
  214.                         *PrintableArea: PAIR(4712, 7904)
  215.                         *PrintableOrigin: PAIR(216, 152)
  216.                     }
  217.                 }
  218.                 *CursorOrigin: PAIR(210, 8056)
  219.                 *Command: CmdSelect
  220.                 {
  221.                     *Order: DOC_SETUP.5
  222.                     *Cmd: "<1B>&l3A"
  223.                 }
  224.             }
  225.         }
  226.     }
  227.     *Option: A4
  228.     {
  229.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  230.         *switch: Orientation
  231.         {
  232.             *case: PORTRAIT
  233.             {
  234.                 *PrintableArea: PAIR(4800, 6570)
  235.                 *PrintableOrigin: PAIR(70, 100)
  236.                 *switch: Resolution
  237.                 {
  238.                     *case: Option2
  239.                     {
  240.                         *PrintableArea: PAIR(4796, 6568)
  241.                         *PrintableOrigin: PAIR(72, 100)
  242.                     }
  243.                     *case: Option3
  244.                     {
  245.                         *PrintableArea: PAIR(4792, 6560)
  246.                         *PrintableOrigin: PAIR(72, 104)
  247.                     }
  248.                 }
  249.                 *CursorOrigin: PAIR(70, 100)
  250.                 *Command: CmdSelect
  251.                 {
  252.                     *Order: DOC_SETUP.5
  253.                     *Cmd: "<1B>&l26A"
  254.                 }
  255.             }
  256.             *case: LANDSCAPE_CC90
  257.             {
  258.                 *PrintableArea: PAIR(4702, 6498)
  259.                 *PrintableOrigin: PAIR(150, 150)
  260.                 *switch: Resolution
  261.                 {
  262.                     *case: Option2
  263.                     {
  264.                         *PrintableArea: PAIR(4700, 6496)
  265.                         *PrintableOrigin: PAIR(152, 152)
  266.                     }
  267.                     *case: Option3
  268.                     {
  269.                         *PrintableArea: PAIR(4696, 6496)
  270.                         *PrintableOrigin: PAIR(152, 152)
  271.                     }
  272.                 }
  273.                 *CursorOrigin: PAIR(150, 6648)
  274.                 *Command: CmdSelect
  275.                 {
  276.                     *Order: DOC_SETUP.5
  277.                     *Cmd: "<1B>&l26A"
  278.                 }
  279.             }
  280.         }
  281.     }
  282.     *Option: EXECUTIVE
  283.     {
  284.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  285.         *switch: Orientation
  286.         {
  287.             *case: PORTRAIT
  288.             {
  289.                 *PrintableArea: PAIR(4070, 5856)
  290.                 *PrintableOrigin: PAIR(100, 100)
  291.                 *switch: Resolution
  292.                 {
  293.                     *case: Option2
  294.                     {
  295.                         *PrintableArea: PAIR(4068, 5856)
  296.                     }
  297.                     *case: Option3
  298.                     {
  299.                         *PrintableArea: PAIR(4064, 5848)
  300.                         *PrintableOrigin: PAIR(104, 104)
  301.                     }
  302.                 }
  303.                 *CursorOrigin: PAIR(100, 100)
  304.                 *Command: CmdSelect
  305.                 {
  306.                     *Order: DOC_SETUP.5
  307.                     *Cmd: "<1B>&l1A"
  308.                 }
  309.             }
  310.             *case: LANDSCAPE_CC90
  311.             {
  312.                 *PrintableArea: PAIR(3950, 5784)
  313.                 *PrintableOrigin: PAIR(200, 150)
  314.                 *switch: Resolution
  315.                 {
  316.                     *case: Option2
  317.                     {
  318.                         *PrintableArea: PAIR(3948, 5780)
  319.                         *PrintableOrigin: PAIR(200, 152)
  320.                     }
  321.                     *case: Option3
  322.                     {
  323.                         *PrintableArea: PAIR(3944, 5776)
  324.                         *PrintableOrigin: PAIR(200, 152)
  325.                     }
  326.                 }
  327.                 *CursorOrigin: PAIR(200, 5934)
  328.                 *Command: CmdSelect
  329.                 {
  330.                     *Order: DOC_SETUP.5
  331.                     *Cmd: "<1B>&l1A"
  332.                 }
  333.             }
  334.         }
  335.     }
  336.     *Option: ENV_10
  337.     {
  338.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  339.         *switch: Orientation
  340.         {
  341.             *case: PORTRAIT
  342.             {
  343.                 *PrintableArea: PAIR(2318, 5100)
  344.                 *PrintableOrigin: PAIR(70, 100)
  345.                 *switch: Resolution
  346.                 {
  347.                     *case: Option2
  348.                     {
  349.                         *PrintableArea: PAIR(2316, 5100)
  350.                         *PrintableOrigin: PAIR(72, 100)
  351.                     }
  352.                     *case: Option3
  353.                     {
  354.                         *PrintableArea: PAIR(2312, 5096)
  355.                         *PrintableOrigin: PAIR(72, 104)
  356.                     }
  357.                 }
  358.                 *CursorOrigin: PAIR(70, 100)
  359.                 *Command: CmdSelect
  360.                 {
  361.                     *Order: DOC_SETUP.5
  362.                     *Cmd: "<1B>&l-81A"
  363.                 }
  364.             }
  365.             *case: LANDSCAPE_CC90
  366.             {
  367.                 *PrintableArea: PAIR(2158, 5050)
  368.                 *PrintableOrigin: PAIR(150, 150)
  369.                 *switch: Resolution
  370.                 {
  371.                     *case: Option2
  372.                     {
  373.                         *PrintableArea: PAIR(2156, 5048)
  374.                         *PrintableOrigin: PAIR(152, 152)
  375.                     }
  376.                     *case: Option3
  377.                     {
  378.                         *PrintableArea: PAIR(2152, 5048)
  379.                         *PrintableOrigin: PAIR(152, 152)
  380.                     }
  381.                 }
  382.                 *CursorOrigin: PAIR(150, 5200)
  383.                 *Command: CmdSelect
  384.                 {
  385.                     *Order: DOC_SETUP.5
  386.                     *Cmd: "<1B>&l-81A"
  387.                 }
  388.             }
  389.         }
  390.     }
  391.     *Option: ENV_DL
  392.     {
  393.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  394.         *switch: Orientation
  395.         {
  396.             *case: PORTRAIT
  397.             {
  398.                 *PrintableArea: PAIR(2438, 4596)
  399.                 *PrintableOrigin: PAIR(70, 100)
  400.                 *switch: Resolution
  401.                 {
  402.                     *case: Option2
  403.                     {
  404.                         *PrintableArea: PAIR(2436, 4596)
  405.                         *PrintableOrigin: PAIR(72, 100)
  406.                     }
  407.                     *case: Option3
  408.                     {
  409.                         *PrintableArea: PAIR(2432, 4592)
  410.                         *PrintableOrigin: PAIR(72, 104)
  411.                     }
  412.                 }
  413.                 *CursorOrigin: PAIR(70, 100)
  414.                 *Command: CmdSelect
  415.                 {
  416.                     *Order: DOC_SETUP.5
  417.                     *Cmd: "<1B>&l90A"
  418.                 }
  419.             }
  420.             *case: LANDSCAPE_CC90
  421.             {
  422.                 *PrintableArea: PAIR(2318, 4546)
  423.                 *PrintableOrigin: PAIR(150, 150)
  424.                 *switch: Resolution
  425.                 {
  426.                     *case: Option2
  427.                     {
  428.                         *PrintableArea: PAIR(2316, 4544)
  429.                         *PrintableOrigin: PAIR(152, 152)
  430.                     }
  431.                     *case: Option3
  432.                     {
  433.                         *PrintableArea: PAIR(2312, 4544)
  434.                         *PrintableOrigin: PAIR(152, 152)
  435.                     }
  436.                 }
  437.                 *CursorOrigin: PAIR(150, 4696)
  438.                 *Command: CmdSelect
  439.                 {
  440.                     *Order: DOC_SETUP.5
  441.                     *Cmd: "<1B>&l90A"
  442.                 }
  443.             }
  444.         }
  445.     }
  446. }
  447. *Feature: PrintQuality
  448. {
  449.     *rcNameID: =TEXT_QUALITY_DISPLAY
  450.     *DefaultOption: Option1
  451.     *Option: Option1
  452.     {
  453.         *rcNameID: 272
  454.         *Command: CmdSelect
  455.         {
  456.             *Order: DOC_SETUP.4
  457.             *Cmd: "<1B>(s2Q<1B>*r2Q"
  458.         }
  459.     }
  460.     *Option: Option2
  461.     {
  462.         *rcNameID: 273
  463.         *Command: CmdSelect
  464.         {
  465.             *Order: DOC_SETUP.4
  466.             *Cmd: "<1B>(s0Q<1B>*r0Q"
  467.         }
  468.     }
  469.     *Option: Option3
  470.     {
  471.         *rcNameID: 274
  472.         *Command: CmdSelect
  473.         {
  474.             *Order: DOC_SETUP.4
  475.             *Cmd: "<1B>(s2Q<1B>*r2Q<1B>*o2Q"
  476.         }
  477.     }
  478. }
  479. *Feature: Halftone
  480. {
  481.     *rcNameID: =HALFTONING_DISPLAY
  482.     *DefaultOption: HT_PATSIZE_AUTO
  483.     *Option: HT_PATSIZE_AUTO
  484.     {
  485.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  486.     }
  487. *Ifdef: WINNT_50
  488.     *Option: HT_PATSIZE_SUPERCELL_M
  489.     {
  490.         *rcNameID: =HT_SUPERCELL_DISPLAY
  491.     }
  492. *Endif:
  493.     *Option: HT_PATSIZE_6x6_M
  494.     {
  495.         *rcNameID: =HT_DITHER6X6_DISPLAY
  496.     }
  497.     *Option: HT_PATSIZE_8x8_M
  498.     {
  499.         *rcNameID: =HT_DITHER8X8_DISPLAY
  500.     }
  501. }
  502. *Command: CmdStartDoc
  503. {
  504.     *Order: DOC_SETUP.1
  505.     *Cmd: "<1B>E<1B>&l0L"
  506. }
  507. *Command: CmdStartPage
  508. {
  509.     *Order: PAGE_SETUP.1
  510.     *Cmd: "<0D>"
  511. }
  512. *Command: CmdEndJob
  513. {
  514.     *Order: JOB_FINISH.1
  515.     *Cmd: "<1B>E"
  516. }
  517. *Command: CmdEndPage
  518. {
  519.     *Order: PAGE_FINISH.1
  520.     *Cmd: "<0D>"
  521. }
  522. *RotateCoordinate?: TRUE
  523. *RotateRaster?: FALSE
  524. *RotateFont?: FALSE
  525. *switch: Orientation
  526. {
  527.     *case: PORTRAIT
  528.     {
  529.         *TextCaps: LIST(TC_OP_CHARACTER,TC_OP_STROKE,TC_UA_ABLE)
  530.     }
  531.     *case: LANDSCAPE_CC90
  532.     {
  533.         *TextCaps: LIST()
  534.     }
  535. }
  536. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  537. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,X_LANDSCAPE,Y_PORTRAIT,Y_LANDSCAPE)
  538. *XMoveThreshold: 0
  539. *YMoveThreshold: *
  540. *XMoveUnit: 300
  541. *YMoveUnit: 300
  542. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  543. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d{(DestXRel / 2) }"X" }
  544. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d{(DestXRel / 2) }"X" }
  545. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  546. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  547. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  548. *Command: CmdCR { *Cmd : "<0D>" }
  549. *Command: CmdLF { *Cmd : "<0A>" }
  550. *Command: CmdFF { *Cmd : "<0C>" }
  551. *EjectPageWithFF?: TRUE
  552. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  553. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  554. *OutputDataFormat: H_BYTE
  555. *OptimizeLeftBound?: FALSE
  556. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  557. *CursorYAfterSendBlockData: AUTO_INCREMENT
  558. *LookAheadRegion: 360
  559. *DefaultFont: 1
  560. *DefaultCTT: 0
  561. *CharPosition: BASELINE
  562. *switch: Orientation
  563. {
  564.     *case: PORTRAIT
  565.     {
  566.         *DeviceFonts: LIST(1,7,8,69,70,71,72,73,94,95,102,103,104,105,106,107,
  567. +                   108,109,110,111,112,113,114,115,116,117)
  568.     }
  569.     *case: LANDSCAPE_CC90
  570.     {
  571.         *DeviceFonts: LIST()
  572.     }
  573. }
  574. *Command: CmdUnderlineOn { *Cmd : "<1B>&d3D" }
  575. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  576.